#ifndef _TOKENIZER_H
#define _TOKENIZER_H

#pragma once
#include <string>

using namespace std;

class Tokenizer
{
public:
	static const std::string DELIMITERS;
	Tokenizer(const string& str);
    Tokenizer(const string& str, const string& delimiters);
    bool nextToken();
    bool nextToken(const string& delimiters);
    const string getToken() const;
    //void reset();
protected:
	size_t m_offset;
    const string m_string;
    string m_token;
    string m_delimiters;
};

#endif
